package com.bw.liuyushan.zhuangao4_weektest2.Adapter;

import com.bw.liuyushan.zhuangao4_weektest2.R;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;

import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

import java.util.List;

/**
 * ZhuanGao4_WeekTest2
 * file name is : TalkAdapter
 * created by Ender on 2021/8/28 9:28.
 * author : 刘雨杉
 * Describe(作用):
 */
public class TalkAdapter extends BaseQuickAdapter<String, BaseViewHolder> {
    public TalkAdapter( List<String> data) {
        super(R.layout.talktext, data);
    }

    @Override
    protected void convert(@NotNull BaseViewHolder baseViewHolder, String s) {
        baseViewHolder.setText(R.id.tv_talks,s.toString());
    }
}
